<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">

<ui:composition>
		<h:form>
			<rich:panel>
				<f:facet name="header">
					<h:outputText value="#{resourceApp.crrnv_titulo_lista}"></h:outputText>
				</f:facet>
				
				<c:if test="${empty crrnvListaBean.crrnvLista}">
				<rich:panel>
					<div align="center">
						<h:graphicImage value="/img/info.gif" />
						<h:outputLabel value="#{resourceApp.crrnv_sin_info}" />
					</div>
				</rich:panel>
				</c:if>
				
				<c:if test="${!empty crrnvListaBean.crrnvLista}">
					<rich:dataTable 
						onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
						onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
						cellpadding="0" cellspacing="0"
						width="100%" border="0" 
						value="#{crrnvListaBean.crrnvLista}" var="rnv">		
						<rich:column sortBy="#{rnv.rnvfph}" headerClass="encabezadoCol">
							<f:facet name="header">
								<h:outputText value="#{resourceApp.crrnv_rnvfph}"></h:outputText>
							</f:facet>
							<h:outputText value="#{rnv.rnvfph}"/>
						</rich:column>
						<rich:column sortBy="#{rnv.rnvper}" headerClass="encabezadoCol">
							<f:facet name="header">
								<h:outputText value="#{resourceApp.crrnv_rnvper}"></h:outputText>
							</f:facet>
							<h:outputText value="#{rnv.rnvper}"/>
						</rich:column>
						<rich:column sortBy="#{rnv.rnvbid}" headerClass="encabezadoCol">
							<f:facet name="header">
								<h:outputText value="#{resourceApp.crrnv_rnvbid}"></h:outputText>
							</f:facet>
							<h:outputText value="#{rnv.rnvbid}"/>
						</rich:column>
						<rich:column sortBy="#{rnv.rnvtad}" headerClass="encabezadoCol">
							<f:facet name="header">
								<h:outputText value="#{resourceApp.crrnv_rnvtad}"></h:outputText>
							</f:facet>
							<h:outputText value="#{rnv.rnvtad}"/>
						</rich:column>
						<rich:column sortBy="#{rnv.rnvvto}" headerClass="encabezadoCol">
							<f:facet name="header">
								<h:outputText value="#{resourceApp.crrnv_rnvvto}"></h:outputText>
							</f:facet>
							<h:outputText value="#{rnv.rnvvto}"/>
						</rich:column>
					</rich:dataTable>
				</c:if>
			</rich:panel>
		</h:form>
</ui:composition>
</html>
